package org.example.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.example.domain.UtcItemRecord;

/**
 * recordMapper接口
 * 
 * @author coderfun
 * @date 2024-11-27
 */
@Mapper
public interface UtcItemRecordMapper 
{
    /**
     * 查询record
     * 
     * @param itemId record主键
     * @return record
     */
    public UtcItemRecord selectUtcItemRecordByItemId(Long itemId);

    /**
     * 查询record列表
     * 
     * @param utcItemRecord record
     * @return record集合
     */
    public List<UtcItemRecord> selectUtcItemRecordList(UtcItemRecord utcItemRecord);

    /**
     * 新增record
     * 
     * @param utcItemRecord record
     * @return 结果
     */
    public int insertUtcItemRecord(UtcItemRecord utcItemRecord);

    /**
     * 修改record
     * 
     * @param utcItemRecord record
     * @return 结果
     */
    public int updateUtcItemRecord(UtcItemRecord utcItemRecord);

    /**
     * 删除record
     * 
     * @param itemId record主键
     * @return 结果
     */
    public int deleteUtcItemRecordByItemId(Long itemId);

    /**
     * 批量删除record
     * 
     * @param itemIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteUtcItemRecordByItemIds(Long[] itemIds);
}
